package com.dongdong.service;

import com.dongdong.model.TbSeller;
import com.dongdong.page.PageParams;
import com.dongdong.vo.SellerVO;

import java.util.List;

public interface SellerService {
    TbSeller getSellerByName(String username);

    TbSeller getSellerById(String sellerId);

    int register(TbSeller seller);

    int updateSeller(TbSeller seller);

    PageParams<SellerVO> getSellerList(Integer pageSize, Integer pageNum);

    List<SellerVO> getNameAndLinkeName(SellerVO sellerVO);

    List<SellerVO> getStatus(String status);

    SellerVO getId(String sellerId);

    int SetAudit(String sellerId, Integer status);
}
